home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #1
/
Amiga Plus CD - 1996 - No. 1.iso
/
pd
/
grafik
/
imagedesk_v2.0
/
instdata
/
rexx
/
makephotocd.idesk
< prev
next >
Wrap
Text File
|
1995-08-10
|
719b
|
29 lines
/* generates catalogs from PhotoCDs */
/* --------------------- standard startup ----------------------- */
OPTIONS RESULTS
if( ADDRESS() ~= "IDESK_REXXPORT" ) then
ADDRESS IDESK_REXXPORT
/* -------------------------------------------------------------- */
catname = "PhotoCD.Cat" /* <- edit the catalog name if you want */
IDREQUEST "Abort|Continue" '"This Script needs a PhotoCD mounted as CD0:"'
if (RESULT = 1) then exit
IDGETPATH '"Where to store the catalog?"'
if (RC > 0) then exit
catdir = RESULT
if (right(catdir, 1) ~= ':') then
catdir = catdir || '/'
GENCAT '"'||catdir||catname||'"' "CD0:PHOTO_CD/IMAGES" "#?.PCD"
IDREQUEST OK '"Catalog has been stored as:'||'0A'x||catdir||catname||'"'